"""
Version: 0.1
Author: CarpeDiem
Date: 2022/3/18
Description: 按行打印象棋口诀
"""
# 按行打印象棋口诀
chess_formulas = '象棋口诀：马走日，象走田，车走直路炮翻山，士走斜线护将边，小卒一去不回换。'
for str in chess_formulas:
    if str in ['：', '，', '。']:
        print(str, end='\n')
    else:
        print(str, end='')